from PIL import Image

if __name__ == '__main__':
    with Image.open('../images/road.jpg') as im:
        box = (0, 0, 100, 100)
        cropped_image= im.crop(box)
        cropped_image.save('new_image.jpg')
